package com.atguigu.gulimall.member.feign;


import com.atguigu.common.utils.Constant;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(contextId = "remoteCouponService",value = Constant.GULIMALL_COUPON)
public interface RemoteCouponService {

    @RequestMapping("coupon/coupon/list")
    R list(@RequestParam Map<String, Object> params);
}
